<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title></title>
	</head>
	<body>
		<div class="container" >
	
		

				<h1>
<a href="./index.html" title="尊积环保" class="logo pull-left">


<img src="./static/img/logo.png" alt="尊积环保"></a><small class="pull-left">励志环保<br>服务社会</small></h1>
				<!--导航开始-->
				<nav class="nav pull-right">
					<ul class="nav-bar list-unstyled pull-left" id="nav">
						<script id="pronav" type="text/html">
					
						<!--<li>
							<a href="http://mb.52web.me/TP000022/" class="hover">网站首页</a>
						</li>-->
						{{each pronav}}
						<li>
							<a title="{{$value.name}}" href="{{$value.url}}">{{$value.name}}</a>

							<ul class="list-unstyled">
{{each $value.programaSecond}}
								<li>
									<a title="{{$value.name}}" href="{{$value.url}}">{{$value.name}}</a>
								</li>
								
									{{/each}}
							</ul>
						</li>
						{{/each}}
						
					</ul>
				</nav>
				<!--导航结束-->
					</script>
			</div>
<script type="text/javascript" src="../js/jquery.js" ></script>		
<script type="text/javascript" src="../js/webdata.js" ></script>
<script type="text/javascript" src="../js/template-web.js" ></script>

<script>
	$(document).ready(function() {
				$.ajax({
					url: pro,
					type: "get",
					dataType: "json",
					
					data: {
						
					},
					success: function(response) {
						console.log(response);
						webdata.pronav = response;

						var list = template('pronav', webdata);
						document.getElementById("nav").innerHTML = list;


					},
					error: function(errordata) {
						console.log(errordata);

					}
				});
		});
	
</script>
	</body>
</html>
